<?php echo $this->fetch('header.html'); ?>
<div id="rightTop">
    <p>帐号同步</p>
    <?php echo $this->fetch('subnav.html'); ?>
</div>
<div class="info">
    <form method="post" enctype="multipart/form-data" id="user_form">
        <table class="infoTable">
            <tr>
                <th class="paddingT15">开启自动注册:</th>
                <td class="paddingT15">
                    <input id="third_login_register0" type="radio" name="third_login_register" <?php if ($this->_var['setting']['third_login_register'] == 0): ?>checked<?php endif; ?> value="0" />
                    <label for="third_login_register0">关闭</label>
                    <input id="third_login_register1" type="radio" name="third_login_register" <?php if ($this->_var['setting']['third_login_register'] == 1): ?>checked<?php endif; ?> value="1" />
                    <label for="third_login_register1">开启</label>        
                </td>
            </tr>
            <tr>
                <th class="paddingT15"><label for="qq_appid"> QQ AppID:</label></th>
                <td class="paddingT15 wordSpacing5">
                    <input class="infoTableInput" id="qq_appid" type="text" name="qq_appid" value="<?php echo $this->_var['setting']['qq_appid']; ?>"/>
                    <a href="http://connect.qq.com/" target="_blank">申请地址</a>
                </td>
            </tr>
            <tr>
                <th class="paddingT15"><label for="qq_appkey"> QQ AppKey:</label></th>
                <td class="paddingT15 wordSpacing5"><input class="infoTableInput" id="qq_appkey" type="text" name="qq_appkey" value="<?php echo $this->_var['setting']['qq_appkey']; ?>"/></td>
            </tr>
            <tr>
                <th class="paddingT15"><label for="sina_appid"> 新浪AppKey:</label></th>
                <td class="paddingT15 wordSpacing5">
                    <input class="infoTableInput" id="sina_appid" type="text" name="sina_appid" value="<?php echo $this->_var['setting']['sina_appid']; ?>"/>
                    <a href="http://open.weibo.com/?bottomnav=1&wvr=6" target="_blank">申请地址</a>
                </td>
            </tr>
            <tr>
                <th class="paddingT15"><label for="sina_appkey"> 新浪AppSecret:</label></th>
                <td class="paddingT15 wordSpacing5"><input class="infoTableInput" id="sina_appkey" type="text" name="sina_appkey" value="<?php echo $this->_var['setting']['sina_appkey']; ?>"/></td>
            </tr>
            <tr>
                <th class="paddingT15"><label>微信开发平台appid:</label></th>
                <td class="paddingT15 wordSpacing5">
                    <input class="infoTableInput" id="wxlogin_qr_appid" type="text" name="wxlogin_qr_appid" value="<?php echo $this->_var['setting']['wxlogin_qr_appid']; ?>"/>
                    <a href="http://open.weixin.qq.com/" target="_blank">申请地址</a>
                </td>
            </tr>
            <tr>
                <th class="paddingT15"><label>微信开发平台appkey:</label></th>
                <td class="paddingT15 wordSpacing5"><input class="infoTableInput" id="wxlogin_qr_appkey" type="text" name="wxlogin_qr_appkey" value="<?php echo $this->_var['setting']['wxlogin_qr_appkey']; ?>"/></td>
            </tr>
            <tr>
                <th></th>
                <td class="ptb20"><input class="formbtn" type="submit" name="Submit" value="提交" />
                    <input class="formbtn" type="reset" name="Submit2" value="重置" />
                </td>
            </tr>
        </table>
    </form>
</div>
<?php echo $this->fetch('footer.html'); ?>